<template>
  <div id="checkActivity">
    <el-table
      :data="tableData"
      border
      style="width: 100%">
      <el-table-column
        fixed
        prop="publisher"
        label="发布者"
        width="150">
      </el-table-column>
      <el-table-column
        fixed
        prop="content"
        label="活动内容"
        width="150">
      </el-table-column>
      <el-table-column
        prop="releaseTime"
        label="发布时间"
        width="120">
      </el-table-column>
      <el-table-column
        prop="endTime"
        label="结束时间"
        width="120">
      </el-table-column>
      <el-table-column
        prop="place"
        label="活动地点"
        width="120">
      </el-table-column>
      <el-table-column
        prop="intro"
        label="活动介绍"
        width="120">
      </el-table-column>
      <el-table-column
        prop="request"
        label="活动要求"
        width="120">
      </el-table-column>
      <el-table-column
        prop="cost"
        label="活动费用"
        width="120">
      </el-table-column>
      <el-table-column
        prop="title"
        label="活动名称"
        width="120">
      </el-table-column>
      <el-table-column
        fixed="right"
        label="操作"
        width="100">
        <template scope="scope">
          <el-button @click="handleClick" type="text" size="small">编辑</el-button>
          <el-button type="text" size="small">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <el-button>发布资讯</el-button>
 </div>
</template>

<script>
  export default {
    name: 'checkActivity',

    data(){
      return{
        tableData: [{
          publisher: '王小虎',
          content: '233',
          releaseTime:  '2016-05-04 17:11:12',
          endTime: '2016-05-08 18:12:56',
          place: '广州',
          intro:'很好玩',
          request:'必须单身',
          cost:'100',
          title:'单身派对'
        }, {
            publisher: '王小虎',
          content: '233',
          releaseTime:  '2016-05-04 17:11:12',
          endTime: '2016-05-08 18:12:56',
          place: '广州',
          intro:'很好玩',
          request:'必须单身',
          cost:'100',
          title:'单身派对'
          
        }, {
           publisher: '王小虎',
          content: '233',
          releaseTime:  '2016-05-04 17:11:12',
          endTime: '2016-05-08 18:12:56',
          place: '广州',
          intro:'很好玩',
          request:'必须单身',
          cost:'100',
          title:'单身派对'
          
        }, {
          publisher: '王小虎',
          content: '233',
          releaseTime:  '2016-05-04 17:11:12',
          endTime: '2016-05-08 18:12:56',
          place: '广州',
          intro:'很好玩',
          request:'必须单身',
          cost:'100',
          title:'单身派对'
        }]


      }
    },
    methods:{
       handleClick() {
        console.log(1);
      }


    }
  }
</script>

<style scoped>
  #checkEmail{

  }
</style>
